﻿using System.Text.Json.Serialization;

namespace TuLing.Entities
{
    public class Role 
    {
        public long Id { get; set; }
        public string Name { get; set; }
        public string Remark { get; set; }

        [JsonIgnore]
        public virtual List<UserRole> UserRoles { get; set; }

        [JsonIgnore]
        public virtual List<RolePermission> RolePermissions { get; set; }
    }
}